package com.tiyende.kash.loop.weight.city.data

/**
 * Created by YoKey on 16/10/13.
 */
open class DataObserver {
    /**
     * This method is called when the entire data set has changed,
     * init datas
     */
    open fun onInited() {
        // Do nothing
    }

    /**
     * This method is called when the entire data set has changed,
     * refresh UI
     */
    open fun onChanged() {
        // Do nothing
    }

    /**
     * This method is called when the entire data becomes invalid,
     * setListener
     */
    open fun onSetListener(type: Int) {
        // Do nothing
    }
}
